﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/static/include/top.jsp"%>

<s:VGroup width="100%"
			  height="100%"
			  horizontalAlign="left"
			  textAlign="left">
		<mx:Panel width="100%"
				  height="100%"
				  title="报表分组">
				<s:HGroup width="95%"
									height="45"
									id="first_header" verticalAlign="middle">
					<mx:Spacer width="20"/>
					<s:Label text="海洋及相关产业分类名称"/>
					<s:TextInput id="txiProfessional" text="" />
					<mx:Spacer width="20"/>
					<s:Button id="btnSearch"
							  click="btnSearch_clickHandler(event)"
							  label="查询"/>
					<mx:Spacer width="10"/>
					<s:Button id="btnAdd_first"
							  label="增加"
							  click="btnAdd_clickHandler(event)" enabled="false" visible="false"/>
					<mx:Spacer width="10"/>
					<s:Button id="btnDel"
							  click="btnDel_clickHandler(event)"
							  label="删除" enabled="false" visible="false"/>
					<mx:Spacer width="10"/>
				</s:HGroup>
			<s:VGroup width="100%"
					  paddingLeft="10"
					  paddingRight="10">
				<mx:HRule width="100%"/>
			</s:VGroup>
			<s:VGroup width="100%"
					  paddingLeft="10"
					  paddingRight="10" height="90%">
				<utils:PageBar mypagedata="{datas}"
							   id="myDataGrid"
							   curPage="{locator.curPage}"
							   tolalPage="{locator.totalPage}"
							   pageChanged="pagebar_pageChangedHandler(event)"
							   pageNumber="{locator.pageNum}"
							   totalNum="{locator.totalNum}">
						<utils:mygridcolumns>
							
							<mx:DataGridColumn dataField="dustryName"
											   headerText="海洋及相关产业分类名称"/>
							<mx:DataGridColumn itemRenderer="cn.com.generaldata.group3.ProfessionalOfdetails"
											   width="40"/>
							<mx:DataGridColumn itemRenderer="cn.com.generaldata.group3.ProfessionalOfUpdate"
											   width="40"/>
						</utils:mygridcolumns>
					</utils:PageBar>
				</s:VGroup>
		</mx:Panel>
	</s:VGroup>

<%@ include file="/static/include/bottom.jsp"%>
